package com.ruoyi.app.domain.enums;

import lombok.Getter;

@Getter
public enum LoginTypeEnum {

    /**
     * 登录类型 1-账号 2-手机号 3-邮箱
     */
    ACCOUNT(1L, "account"),
    PHONE(2L, "phone"),
    EMAIL(3L, "email");

    private final Long code;
    private final String msg;

    LoginTypeEnum(Long code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
